/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.q3and4.singlleresponsibilityprin.model.violate;

/**
 *
 * @author user
 */
public class Connection {

    private String phoneNo;
    private String name;
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }
    
    public void dial(String phoneNumber){
        phoneNumber = phoneNo;
    }
}
